
package com.redteam.data.enums;

/**
 * Contains value and methods of <code>ReservationState</code> enum.
 * @author Jezreel Wilson
 */
public enum ReservationState {
    /**
     * Shows a <code>ReservationState</code> of Pending Reservation
     */
    pending("pending"),
    /**
     * Shows a <code>ReservationState</code> of Accepted Reservation
     */
    accepted("accepted"),
    /**
     * Shows a <code>ReservationState</code> of Accepted Reservation
     */
    inProgress("inProgress"),
    /**
     * Shows a <code>ReservationState</code> of Denied Reservation
     */
    denied("denied"),
    /**
     * Shows a <code>ReservationState</code> of Canceled Reservation
     */
    cancelled("cancelled"),
    /**
     * Shows a <code>ReservationState</code> of Finished Reservation
     */
    finished("finished");

    private String letterRep;
    /**
     * Creates <code>ReservationState</code>
     * @param rep
     * letter representation for <code>ReservationState</code>
     */
    ReservationState(String rep){
        this.letterRep=rep;
    }
    /**
     * Gets <code>letterRep</code> for <code>ReservationState</code>
     * @return
     * letterRep
     */
    public String getLetterRep(){
        return this.letterRep;
    }
}
